<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<%=basePath%>admin/base/employer/">

<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE4 {
	font-size: 12px;
	color: #1F4A65;
	font-weight: bold;
}

a:link {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;

}
a:visited {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}
a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: underline;
}
a:active {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.STYLE7 {font-size: 12px;}

/**以下两个CSS 是表单的样式 顺序不能换**/
.form-font { 
	margin-left: 10px;
	margin-top: 8px;
	font-size: 13px;
	border-collapse: collapse;
}
.form-font td {
	padding-left: 8px;
	font-size: 13px;
	/*border-width: 1px;
	border-style: solid;
	*/
	border-collapse: collapse;
}
.form-font select {
	width: 100px;
}

-->


</style>

<script>
var  highlightcolor='#eafcd5';
//此处clickcolor只能用win系统颜色代码才能成功,如果用#xxxxxx的代码就不行,还没搞清楚为什么:(
var  clickcolor='#51b2f6';
function  changeto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=highlightcolor&&source.id!="nc"&&cs[1].style.backgroundColor!=clickcolor)
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=highlightcolor;
}
}

function  changeback(){
if  (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="nc")
return
if  (event.toElement!=source&&cs[1].style.backgroundColor!=clickcolor)
//source.style.backgroundColor=originalcolor
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}

function  clickto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=clickcolor&&source.id!="nc")
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=clickcolor;
}
else
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}


</script>




</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="../../tab/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="../../tab/images/tab_05.gif"><img src="../../tab/images/311.gif" width="16" height="16" /> <span class="STYLE4">修改员工信息</span></td>
        <td width="281" background="../../tab/images/tab_05.gif"><table border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>
             
            </tr>
        </table></td>
        <td width="14"><img src="../../tab/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="../../tab/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3">
        
        <form action="update" method="post">
        <table width="872" class="form-font" >
			<tr>
				<td height="26">编号：</td><td><input name="emp.id" value="${emp.id }" size="12"/></td>
				<td></td><td width="179"></td>
				<td width="81"></td>
				<td width="225"></td>
			</tr>
			<tr>
				<td height="26">姓名：</td><td><input name="emp.name" size="12" value="${emp.name }"/></td>
				<td>性别：</td><td width="179"><select name="emp.sex">
					<c:if test="${emp.sex == 1}">
						<option selected="selected" value="1">男</option>
						<option value="0">女</option>
					</c:if>
                  	<c:if test="${emp.sex == 0}">
						<option  value="1">男</option>
						<option selected="selected" value="0">女</option>
					</c:if>
                  
                </select></td>
				<td width="81">出生年月：</td>
				<td width="225"><input name="emp.birthday" size="12" value="${emp.birthday }"/></td>
			</tr>
			<tr>
				<td height="28">民族：</td>
				<td>
					<input name="emp.nationality" value="${emp.nationality }"/>
				</td>
				<td>身高(cm)：</td><td><input name="emp.height" size="12"  value="${emp.height }"/>
				  </td>
				<td>
					体重(kg)：</td><td><input name="emp.weight" size="12" value="${emp.weight }">
				</td>
			</tr>
			<tr>
				<td height="31">
					婚姻状况：</td>
				<td>
					<input name="emp.marriage" value="${emp.marriage }"/>				</td>
				<td>
					健康状况:</td><td>
					<input name="emp.heathy" value="${emp.healthy }"/>		
					
				</td>
				<td>血型：</td><td>
				<select name="emp.bloodType" value="O型">
                  <option>O型</option>
                  <option>A型</option>
                  <option>B型</option>
                  <option>AB型</option>
                  <option>其他</option>
                </select></td>
			</tr>
			<tr>
				<td height="26">政治面貌：</td>
				<td><input name="emp.politicality" size="12" /></td>
				<td>学历：</td>
				<td><select name="emp.education">
                  <option>无</option>
                  <option>小学毕业</option>
                  <option>初中毕业</option>
                  <option>高中毕业</option>
                  <option>大学毕业</option>
                  <option>研究生</option>
                  <option>硕士</option>
                  <option>博士</option>
                  <option>博士后</option>
                  <option>院士</option>
                </select></td>
				<td>专长：</td>
				<td><input name="emp.speciality" size="20"/></td>
			</tr>
			<tr>
				<td height="29">邮箱：</td>
				<td><input name="emp.email" size="20"/></td>
				<td>
					固定电话：</td><td><input name="emp.phone" size="20"/>
				</td>
				<td>
					手机：</td><td ><input name="emp.cellphone" size="20"/>
				</td>
			</tr>
			
			<tr>
				<td height="28" >身份证号码：</td>
				<td ><input name="emp.idCard" size="20"/></td>
				<td >邮编：</td>
				<td ><input name="emp.zipCode" size="20"/></td>
				<td>家庭住址：</td>
				<td><input name="emp.address" size="25"/></td>
			</tr>
			<tr>
				<td >
					工作经历简述：</td><td colspan="5"><textarea name="emp.workExperience" rows="8" cols="75"></textarea>
				</td>
			</tr>
		</table>
		
		<div style="margin-top: 20px; margin-left: 20px;">
			<input type="submit" value=" 确  定 "/>&nbsp;&nbsp;<input type="button" value=" 取  消"/>
		</div>
		<input type="hidden" name="emp.id" value="${emp.id }"/>
		</form>
        </td>
        <td width="9" background="../../tab/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="../../tab/images/tab_20.gif" width="15" height="29" /></td>
        <td background="../../tab/images/tab_21.gif">&nbsp;</td>
        <td width="14"><img src="../../tab/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>




</body>
</html>